-- GENERATED SPELL FOR [Stonelash Pincer] --


function spell0_11736(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11736', 8000, 1)
end

function spell1_11736(pUnit, Event) --@Venom Sting,n/a--
pUnit:FullCastSpellOnTarget(5416,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11736', 45000, 1)
end

function Sorts_11736(pUnit, Event)
local choix_sorts_11736 = math.random(0, 1)
if choix_sorts_11736 == 0 then
pUnit:RegisterEvent('spell0_11736', 1, 1)
end
if choix_sorts_11736 == 1 then
pUnit:RegisterEvent('spell1_11736', 1, 1)
end
end

function mob11736_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11736', math.random(1500, 3000), 1)
end

function mob11736_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11736_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11736_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11736, 1, 'mob11736_Action')
RegisterUnitEvent(11736, 2, 'mob11736_Leave')
RegisterUnitEvent(11736, 3, 'mob11736_Kill')
RegisterUnitEvent(11736, 4, 'mob11736_Die')
